#!/bin/bash

# param: 1:keyname 2:size

if [ $# -lt 2 ]; then
	echo "param: 1:keyname 2:size"
	exit 1
fi

rm -f $1
dd if=/dev/urandom of=$1 count=$((${2}/8)) bs=1
